<?php
class Lead_EDO_Handler_Persist_Functional_IdentityMap
{
    
    private $_edos = array();
        
    public function get($id)
    {
        if(!key_exists($id, $this->_edos))
            return null; 
        
        return $this->_edos[$id];
    }
    
    
    public function set(Lead_EDO_Object_Abstract $edo)
    {
        $this->_edos[$edo->id] = $edo;
    }    
    
    
}